len = input()
len = int(len)
nums = list(map(int, input().split()))


def maxSubArray(len, nums):
    memo = [None] * len
    memo[0] = 1
    max = 1
    for i in range(1, len):
        if nums[i] >= nums[i - 1]:
            memo[i] = memo[i - 1] + 1
        else:
            memo[i] = 1

        if memo[i] >= max:
            max = memo[i]

    return max


print(maxSubArray(len, nums))
